// 引入创建仓库方法
import { defineStore } from "pinia";
import { ref, reactive, computed } from "vue";

// 创建仓库，并向外暴露
const useDataStore = defineStore("user", () => {
  const state = ref({
    tableData:[],
    total:1,
  });

  return { state };
});

export default useDataStore;
